import request from '@/utils/request'

/**
 * 新增
 */
export const sava=(param)=>{
  return request({
        url: '/QH/BatInfo/addBatModel?token='+window.localStorage.getItem('goods__token'),
        method: 'post',
        data: param
      });

}
/**
 * 分页
 */
export const list=(param)=>{
  return request({
        url: '/QH/BatInfo/selectBatModelList?token='+window.localStorage.getItem('goods__token'),
        method: 'post',
        data: param
      });
}

/**
 * 删除
 */
export const del=(param)=>{
  return request({
        url: '/QH/BatInfo/delBatModel?token='+window.localStorage.getItem('goods__token'),
        method: 'post',
        data: param
      });
}

